<%@ Page Language="C#" MasterPageFile="~/GUI/Webpage/MasterTunga.master" AutoEventWireup="true" CodeFile="CancelBooking.aspx.cs" Inherits="GUI_Webpage_CancelBooking" Title="Cancel booking" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<table class="tdHolder" cellpadding="0" cellspacing="0">
    <tr>
        <td>
            <table cellpadding="0" cellspacing="0">
                <tr>
                    <td colspan="3">
                        <img src="../../GUI/Image/WebsiteTemplate/30-4/Title_CancelBooking.jpg" />
                    </td>
                </tr>
                <tr>
                    <td class="tdTextContent">
                        <table class="TableOrderContent" cellpadding="10" cellspacing="10">
                             <tr>
                             <td>
                                    <img src="../../GUI/Image/RestaurantTable/table2.jpg" />
                              </td>
                                <td>
                                    <table cellpadding="3" cellspacing="3">
                                        <tr>
                                            <td colspan="3">
                                                <asp:RadioButtonList ID="rdChoose" runat="server" RepeatDirection="Horizontal">
                                                    <asp:ListItem Selected="True">Cancel booking table</asp:ListItem>
                                                    <asp:ListItem>Cancel order food</asp:ListItem>
                                                </asp:RadioButtonList>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td>
                                                Your name</td>
                                            <td>
                                                <asp:TextBox ID="txtName" runat="server"></asp:TextBox>
                                            </td>
                                            <td>
                                                &nbsp;</td>                                            
                                        </tr>
                                        <tr>
                                            <td>
                                                Your email:
                                            </td>
                                            <td>
                                                <asp:TextBox ID="txtEmail" runat="server"></asp:TextBox>
                                            </td>
                                            <td>
                                                &nbsp;</td>                                               
                                        </tr>
                                        <tr>
                                            <td>
                                                Booking ID:
                                            </td>
                                            <td>
                                                <asp:TextBox ID="txtBookingID" runat="server"></asp:TextBox>
                                            </td>
                                            <td>
                                                <asp:RequiredFieldValidator ID="rfvBookingID" runat="server" ErrorMessage="Booking ID is required" ControlToValidate="txtBookingID"></asp:RequiredFieldValidator>
                                            </td>                                               
                                        </tr>
                                         <tr>
                                            <td class="tdButton" colspan="2">
                                                <asp:Button ID="btnAccept" runat="server" Text="View booking" OnClick="btnAccept_Click"/>
                                            </td>
                                        </tr>
                                    </table>

                                </td>
                            </tr>
                            <tr>
                                <td colspan="4">
                                    <asp:GridView ID="grvCancel" runat="server" CellPadding="5" CellSpacing="5">
                                    </asp:GridView>
                                    <br />
                                    <asp:Button ID="btnDelete" runat="server" Text="Delete" OnClick="btnDelete_Click" Visible="False" />
                                </td>
                            </tr>
                        </table>
                    </td>
                </tr>
            </table>
        </td>
    </tr>
</table>
</asp:Content>

